<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>200409</title>
</head>
<body>
    <script>
        /* false */
        var a = [0]
        if (a){
            console.log(a == true)
        }else {
            console.log(a)
        }
    </script>
</body>
</html>